package edu.gatech.cs2340.teamrocket.view.shop;

import javax.swing.*;

import java.awt.*;

/**
 * This is the main shop GUI
 * 
 * @author Wai Chip Ngai
 */
@SuppressWarnings("serial")
public class ShopGUI extends JPanel {

	private final Image bg = new ImageIcon("img/shop_graphics/bg.png").getImage();
	public ShopGUI() {

		setLayout(new BorderLayout());


	}
	
    /**
     * paint the backgroud image
     */
    public void paintComponent(Graphics g){
    	g.setColor(Color.white);
    	g.fillRect(0, 0, 1024, 768);
        g.drawImage(bg, 0, 0, null, null);
    }

}
